package com.example.merchant.entity;

/**
 * 优惠劵实体类
 */
public class Coupon {
    /*
    优惠劵属性
     */
    private Integer id;//优惠券id
    private String name;//优惠价名字
    private Integer couponTypeId;//优惠卷类型id
    private Double money;//优惠金额
    private Integer coding;//编码

    public Coupon() {
    }

    public Coupon(Integer id, Integer couponTypeId, double money,String name) {
        this.id = id;
        this.couponTypeId = couponTypeId;
        this.money = money;
        this.name =name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public Integer getCouponTypeId() {
        return couponTypeId;
    }

    public void setCouponTypeId(Integer couponTypeId) {
        this.couponTypeId = couponTypeId;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getCoding() {
        return coding;
    }

    public void setCoding(Integer coding) {
        this.coding = coding;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
